<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://shiro.apache.org/tags" prefix="shiro" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>软咖权限管理系统</title>
  <link rel="stylesheet" href="${pageContext.request.contextPath }/public/plugin/layui/css/layui.css">
  <link rel="stylesheet" href="${pageContext.request.contextPath }/public/css/common.css" />
  <script type="text/javascript" src="${pageContext.request.contextPath }/public/plugin/jquery/jquery-1.9.1.min.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath }/public/plugin/artDialog/jquery.artDialog.js?skin=blue"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath }/public/plugin/artDialog/plugins/iframeTools.js"></script>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    <div class="layui-logo">软咖权限管理系统</div>
 
    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item ssm-menus">
        <a href="javascript:;">
          <img src="http://t.cn/RCzsdCq" class="layui-nav-img">
          贤心
        </a>
        <dl class="layui-nav-child">
          <dd><a href="">基本资料</a></dd>
          <dd><a href="">安全设置</a></dd>
        </dl>
      </li>
      <li class="layui-nav-item ssm-menus"><a href="login.html">退出</a></li>
    </ul>
  </div>
  
  <div class="layui-side layui-bg-black" style="bottom: 0px;border: solid 1px #eee;">
    <div class="layui-side-scroll">
      <ul class="layui-nav layui-nav-tree menus-tree"  lay-filter="test">
      <c:forEach var="m" items="${menusList }">
	        <li class="layui-nav-item layui-nav-itemed menus-item"> 
	          <a class="sms-yingyingx" href="javascript:;">
	          	<i class="layui-icon ">&#xe620;</i>
	            ${m.name }
	          </a>
	          <dl class="layui-nav-child sys-nav-child">
	            <c:forEach var="childer" items="${m.mensDataList }">
		            <dd>
		            	<a href="${pageContext.request.contextPath }/${childer.url}" target="mainframe">
		            		<i class="layui-icon ">&#xe770;</i>
		            		&nbsp;${childer.name}
		            	</a>
		            </dd>
	     		 </c:forEach>
	          </dl>
	        </li>
         </c:forEach>
      </ul>
    </div>
  </div>
  
 <div class="layui-body" style="bottom: 0px;">
    <!-- 内容主体区域 -->
     <iframe class="main-iframe" name="mainframe" src="${pageContext.request.contextPath }/admin/user/index"></iframe>
  </div>
  
  
</div>
<script src="public/plugin/layui/layui.all.js"></script>
<script>
//JavaScript代码区域
layui.use('element', function(){
  var element = layui.element;
});
</script>
</body>
</html>
      